<template>
  <div>
    <movie-list 
      :movies="movies" 
       movietitle="正在热映"
       @makeGrandParent="getId"></movie-list>
  </div>
</template>

<script>
import MovieList from "./components/MovieList.vue";
export default {
  components: { MovieList },
  data() {
    return {
      movies: [
        {
          id: "1292213",
          title: "大话西游之大圣娶亲 西遊記大結局之仙履奇緣",
          actors: [
            {
              name: "周星驰",
              portray: "至尊宝",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/c995d143ad4bd1131090fc6356afa40f4bfb0505?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "罗家英",
              portray: "唐僧",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/359b033b5bb5c9ea5d883ba9d739b6003af3b304?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "朱茵",
              portray: "青霞仙子",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/1ad5ad6eddc451da710ce73abcfd5266d116326d?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
          ],
          imgSrc:
            "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2455050536.jpg",
          director: {
            name: "刘镇伟",
            photo: "http://web.woniulab.com:8083/movies/images/yz1.jpg",
          },
          price: 34,
          score: "9.2",
          release:
            "1995-02-04(中国香港) 2014-10-24(中国大陆) 2017-04-13(中国大陆重映) ",
          movieType: ["喜剧", "剧情", "奇幻", "爱情"],
          language: " 粤语 / 汉语普通话",
          region: "中国香港 中国大陆",
          desc: "至尊宝（周星驰 饰）被月光宝盒带回到五百年前，遇见紫霞仙子（朱茵 饰），被对方打上烙印成为对方的人，并发觉自己已变成孙悟空。\n                                    \n  紫霞与青霞（朱茵 饰）本是如来佛祖座前日月神灯的灯芯（白天是紫霞，晚上是青霞），二人虽然同一肉身却仇恨颇深，因此紫霞立下誓言，谁能拔出她手中的紫青宝剑，谁就是她的意中人。紫青宝剑被至尊宝于不经意间拔出，紫霞决定以身相许，却遭一心记挂白晶晶（莫文蔚 饰）的至尊宝拒绝。后牛魔王救下迷失在沙漠中的紫霞，并逼紫霞与他成婚，关键时刻，至尊宝现身。",
          duration: "95分钟",
          posterSrc:
            "https://img3.doubanio.com/img/trailer/medium/2455167430.jpg?",
          trailerLink: "../../video/302150564.mp4",
          boxOffice: "2.38亿",
        },
        {
          id: "1295038",
          title: "哈利·波特与魔法石 Harry Potter and the Sorcerer's Stone",
          actors: [
            {
              name: "丹尼尔·雷德克里夫",
              portray: "哈利·波特",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/3ac79f3df8dcd100baa13023dfc15010b912c8fc81d4?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "艾玛·沃森",
              portray: "赫敏·格兰杰",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/d000baa1cd11728b47107c5e20b5d4cec3fdfc03863f?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "鲁伯特·格林特",
              portray: "罗恩·韦斯莱",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/11385343fbf2b2119194d0b9c88065380dd78e8a?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
          ],
          imgSrc:
            "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2614949805.jpg",
          director: {
            name: "克里斯·哥伦布",
            photo: "http://web.woniulab.com:8083/movies/images/yz1.jpg",
          },
          score: "9.0",
          release:
            "2002-01-26(中国大陆) 2020-08-14(中国大陆重映) 2001-11-04(英国首映) 2001-11-16(美国) ",
          movieType: ["冒险", "奇幻"],
          language: " 英语",
          region: "美国 英国",
          desc: "哈利波特是一个孤儿，从小寄养在姨妈家，受尽欺凌。但就在哈利11岁生日的时候，他意外收到了霍格沃茨学院的入学通知书。哈利从该学院派来接他的巨人海格口中得知，这是一间魔法学院，并得知了自己的身世，原来哈利的父母都是伟大的魔法师，在对付伏地魔的战斗中双双献身，唯有哈利幸免于难。\n                                    \n                                　　哈利进入霍格沃茨后，表现出了超乎想象的飞行天赋，得到麦格教授的推荐进入了格兰芬多的魁地奇球队。另一方面，哈利发现霍格沃茨学院内有一股黑暗势力似乎在暗暗滋长，揭开谜团的关键就在有凶恶的三头犬守护的房间内。\n  　　哈利、罗恩和赫敏三个好朋友决定探个究竟。",
          duration: "152分钟",
          posterSrc:
            "https://img3.doubanio.com/img/trailer/medium/2617066051.jpg?1597302617",
          trailerLink: "../../video/402640693.mp4",
          boxOffice: "2.38亿",
        },
        {
          id: "1299398",
          title: "大话西游之月光宝盒 西遊記第壹佰零壹回之月光寶盒",
          actors: [
            {
              name: "周星驰",
              portray: "至尊宝",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/c995d143ad4bd1131090fc6356afa40f4bfb0505?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "罗家英",
              portray: "唐僧",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/359b033b5bb5c9ea5d883ba9d739b6003af3b304?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "朱茵",
              portray: "青霞仙子",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/1ad5ad6eddc451da710ce73abcfd5266d116326d?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
          ],
          imgSrc:
            "https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2561721372.jpg",
          director: {
            name: "刘镇伟",
            photo: "http://web.woniulab.com:8083/movies/images/yz1.jpg",
          },
          price: 56,
          score: "9.0",
          release: "1995-01-21(中国香港) 2014-10-24(中国大陆) ",
          movieType: ["喜剧", "动作", "奇幻", "古装"],
          language: " 粤语 / 汉语普通话",
          region: "中国香港 中国大陆",
          desc: "孙悟空（周星驰）护送唐三藏（罗家英）去西天取经路上，与牛魔王合谋欲杀害唐三藏，并偷走了月光宝盒，此举使观音萌生将其铲除心思，经唐三藏请求，孙悟空被判五百年后重新投胎做人赎其罪孽。\n                                    \n                                　　五百年后孙悟空化身强盗头头至尊宝。当遇见预谋吃唐僧肉的妖怪姐妹蜘蛛精春三十娘（蓝洁瑛）和白骨精白晶晶（莫文蔚）时，因为五百年前孙悟空曾与白晶晶有过一段恋情，至尊宝与她一见钟情，但因菩提老祖将二人妖怪身份相告，至尊宝仍带领众强盗开始与二妖展开周旋，过程中，白晶晶为救至尊宝打伤春三十娘，自己也中毒受伤，为了救白晶晶，至尊宝去找春三十娘，遭白晶晶误会，绝望自杀，至尊宝开始用月光宝盒以期使时光倒流。",
          duration: "87分钟",
          posterSrc:
            "https://img3.doubanio.com/img/trailer/medium/2206036482.jpg?",
          trailerLink: "../../video/301640615.mp4",
          boxOffice: "2.38亿",
        },
        {
          id: "1849031",
          title: "当幸福来敲门 The Pursuit of Happyness",
          actors: [
            {
              name: "威尔·史密斯",
              portray: "Chris Gardner",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/58ee3d6d55fbb2fbfa2416194d4a20a44623dcaa?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "贾登·史密斯",
              portray: "Christopher",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/4610b912c8fcc3ce6f36ec2d9c45d688d43f203d?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
          ],
          imgSrc:
            "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2614359276.jpg",
          director: {
            name: "加布里埃莱·穆奇诺",
            photo: "http://web.woniulab.com:8083/movies/images/yz1.jpg",
          },
          price: 12,
          score: "9.1",
          release:
            "2008-01-17(中国大陆) 2020-07-20(中国大陆重映) 2006-12-15(美国) ",
          movieType: ["剧情"],
          language: " 英语 / 粤语",
          region: "美国",
          desc: "克里斯•加纳（威尔·史密斯 Will Smith 饰）用尽全部积蓄买下了高科技治疗仪，到处向医院推销，可是价格高昂，接受的人不多。就算他多努力都无法提供一个良好的生活环境给妻儿，妻子（桑迪·牛顿 Thandie Newton 饰）最终选择离开家。从此他带着儿子克里斯托夫（贾登·史密斯 Jaden Smith 饰）相依为命。克里斯好不容易争取回来一个股票投资公司实习的机会，就算没有报酬，成功机会只有百分之五，他仍努力奋斗，儿子是他的力量。他看尽白眼，与儿子躲在地铁站里的公共厕所里，住在教堂的收容所里…… 他坚信，幸福明天就会来临。",
          duration: "117分钟",
          posterSrc:
            "https://img1.doubanio.com/img/trailer/medium/1696797559.jpg?",
          trailerLink: "../../video/301210226.mp4",
          boxOffice: "2.38亿",
        },
        {
          id: "1889243",
          title: "星际穿越 Interstellar",
          actors: [
            {
              name: "马修·麦康纳",
              portray: "Joseph Cooper",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/5bafa40f4bfbfbedab64960c3da1e036afc37931b13d?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "安妮·海瑟薇",
              portray: "Amelia Brand",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/060828381f30e924b8992e2a375879061d950a7b59d5?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
            {
              name: "杰西卡·查斯坦",
              portray: "Murphy Cooper",
              photo:
                "https://bkimg.cdn.bcebos.com/pic/adaf2edda3cc7cd98d10f6bb5051363fb80e7bec3b0a?x-bce-process=image/resize,m_fill,w_82,h_102,align_50,limit_0/format,f_auto",
            },
          ],
          imgSrc:
            "https://img1.doubanio.com/view/photo/s_ratio_poster/public/p2614988097.jpg",
          director: {
            name: "克里斯托弗·诺兰",
            photo: "http://web.woniulab.com:8083/movies/images/yz1.jpg",
          },
          price: 32,
          score: "9.3",
          release:
            "2014-11-12(中国大陆) 2020-08-02(中国大陆重映) 2014-11-07(美国) ",
          movieType: ["剧情", "古装", "音乐"],
          language: " 英语",
          region: "美国 英国 加拿大 冰岛",
          desc: "近未来的地球黄沙遍野，小麦、秋葵等基础农作物相继因枯萎病灭绝，人类不再像从前那样仰望星空，放纵想象力和灵感的迸发，而是每日在沙尘暴的肆虐下倒数着所剩不多的光景。在家务农的前NASA宇航员库珀（马修·麦康纳 Matthew McConaughey 饰）接连在女儿墨菲（麦肯吉·弗依 Mackenzie Foy 饰）的书房发现奇怪的重力场现象，随即得知在某个未知区域内前NASA成员仍秘密进行一个拯救人类的计划。多年以前土星附近出现神秘虫洞，NASA借机将数名宇航员派遣到遥远的星系寻找适合居住的星球。在布兰德教授（迈克尔·凯恩 Michael Caine 饰）的劝说下，库珀忍痛告别了女儿，和其他三名专家教授女儿艾米莉亚·布兰德（安妮·海瑟薇 Anne Hathaway 饰）、罗米利（大卫·吉雅西 David Gyasi 饰）、多伊尔（韦斯·本特利 Wes B...",
          duration: "169分钟",
          posterSrc:
            "https://img3.doubanio.com/img/trailer/medium/2615003232.jpg?1595562984",
          trailerLink: "../../video/402630852.mp4",
          boxOffice: "2.38亿",
        },
        {
          id: "3681613",
          title: "大闹天宫",
          actors: [
            {
              name: "李扬",
              portray: "陈辰",
              photo: "http://web.woniulab.com:8083/movies/images/yz3.jpg",
            },
            {
              name: "陈凯歌",
              portray: "郑宇星",
              photo: "http://web.woniulab.com:8083/movies/images/yz4.jpg",
            },
            {
              name: "陈道明",
              portray: "Christopher",
              photo: "http://web.woniulab.com:8083/movies/images/yz5.jpg",
            },
          ],
          imgSrc:
            "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2500167606.jpg",
          director: {
            name: "万籁鸣",
            photo: "http://web.woniulab.com:8083/movies/images/yz1.jpg",
          },
          price: 49,
          score: "7.5",
          release: "2012-01-11(中国大陆3D版) 2017-10-13(中国大陆2D重映) ",
          movieType: ["剧情", "动作"],
          language: " 汉语普通话",
          region: "中国大陆",
          desc: "在遥远的东方傲来国，一枚承受了日精月华的石头突然炸裂，从里面蹦出了一只石猴（李扬 饰）。石猴在附近的花果山占山为王，逍遥自在，好不快活。只可惜他虽天赋神力，却没有一件得心应手的兵器。在老猴的建议下，美猴王入龙宫，强从东海龙王（陈凯歌 饰）那里讨来定海神针金箍棒。龙王一纸诉状告到天庭，玉帝（陈道明 饰）接受太白金星（张国立 饰）的建议，先后将美猴王骗到天宫作弼马温、管理蟠桃园。发觉被骗的美猴王怒砸马栏、破坏蟠桃宴，返回花果山自命齐天大圣。由此和十万天兵天将展开了惊心动魄的大战……\n                                    \n                                　　本片根据中国古典四大名著之一的《西游记》改编，是上海美术电影制片厂经典名作的重新修复的版本。",
          duration: "90分钟(3D版)",
          posterSrc:
            "https://img9.doubanio.com/img/trailer/medium/1355440374.jpg?",
          trailerLink: "../../video/301050471.mp4",
          boxOffice: "2.38亿",
        },
        {
          id: "3734112",
          title: "风声",
          actors: [
            {
              name: "周迅",
              portray: "陈辰",
              photo: "http://web.woniulab.com:8083/movies/images/yz3.jpg",
            },
            {
              name: "李冰冰",
              portray: "郑宇星",
              photo: "http://web.woniulab.com:8083/movies/images/yz4.jpg",
            },
            {
              name: "张涵予",
              portray: "Christopher",
              photo: "http://web.woniulab.com:8083/movies/images/yz5.jpg",
            },
          ],
          imgSrc:
            "https://img1.doubanio.com/view/photo/s_ratio_poster/public/p1599059779.jpg",
          director: {
            name: "陈国富",
            photo: "http://web.woniulab.com:8083/movies/images/yz1.jpg",
          },
          price: 43,
          score: "8.2",
          release: "2009-09-29(中国大陆) 2020-07-20(中国大陆重映) ",
          movieType: ["剧情", "惊悚", "悬疑"],
          language: " 汉语普通话 / 日语",
          region: "中国大陆",
          desc: "1942年10月10日，汪伪政权举行了盛大的国民政府庆典。然而，一系列的军政要员遇刺事件，让身为特务处长王田香（王志文 饰）如坐针毡。在对女刺客（刘威葳 饰）的酷刑审问中，他获得了一条关键的情报--代号为老鬼的地下党已经混入了剿匪司令部。立功心切的王田香立刻向日本皇军特务机关长武田（黄晓明 饰）做了汇报。二人随即在裘庄布下了一个圈套，意图通过放出假消息逼老鬼现身。\n                                    \n                                　　在被怀疑的对象中，有司令的侍从官白小年（苏有朋 饰）、军机处长金生火（英达 饰）、剿匪大队长吴志国（张涵予 饰）、译电组组长李宁玉（李冰冰 饰）以及行政收发专员顾晓梦（周迅 饰）。在怀疑与排查中，武田与王田香不择手段软硬兼施，然而事情的发展却出乎意料……",
          duration: "118分钟",
          posterSrc:
            "https://img3.doubanio.com/view/photo/photo/public/p2615967630.jpg?",
          trailerLink: "https://movie.douban.com/video/106374/",
          boxOffice: "2.38亿",
        },
        {
          id: "3993588",
          title: "狼图腾",
          actors: [
            {
              name: "冯绍峰",
              portray: "陈辰",
              photo: "http://web.woniulab.com:8083/movies/images/yz3.jpg",
            },
            {
              name: "窦骁",
              portray: "郑宇星",
              photo: "http://web.woniulab.com:8083/movies/images/yz4.jpg",
            },
            {
              name: "昂哈妮玛",
              portray: "Christopher",
              photo: "http://web.woniulab.com:8083/movies/images/yz5.jpg",
            },
          ],
          imgSrc:
            "https://img1.doubanio.com/view/photo/s_ratio_poster/public/p2225291257.jpg",
          director: {
            name: "让-雅克·阿诺",
            photo: "http://web.woniulab.com:8083/movies/images/yz1.jpg",
          },
          price: 37,
          score: "6.9",
          release: "2015-02-19(中国大陆) 2015-02-25(法国) ",
          movieType: ["剧情", "动作"],
          language: " 汉语普通话 / 蒙古语",
          region: "中国大陆 法国",
          desc: "上世纪60年代，北京知青陈阵（冯绍峰 饰）和杨克（窦骁 饰）来到了内蒙古额仑大草原插队，加入了蒙古族牧民毕利格老人（巴森 饰）以及他的儿媳噶斯迈（昂哈尼玛 饰）一家的生产队，从此开始若干年的放牧生活。在与狼群的接触过程中，陈阵带着强烈的好奇，逐渐了解了这种动物，甚至有了想自己养一 只小狼的念头。蒙古人民崇敬狼，热爱草原，而汉人则功利地掠夺土地，这导致了狼群与人之间的“战争”。以场部主任包顺贵（尹铸胜 饰）为首的生产队最终发起了一场灭狼运动，让狼群和人类之间的关系陷入到了剑拔弩张的地步…… 自然与人的关系也遭遇了前所未有的挑战。\n                                    \n                                　　电影改编自姜戎同名小说，耗时5年拍摄完成。",
          duration: "121分钟",
          posterSrc:
            "https://img1.doubanio.com/img/trailer/medium/2225264257.jpg?",
          trailerLink: "https://movie.douban.com/trailer/170678/#content",
          boxOffice: "2.38亿",
        },
      ]
    };
  },
  methods:{
    getId(id){
      this.movies=this.movies.filter(item=>item.id!=id)
    }
  }
};
</script>

<style>
</style>